%%-*- mode: erlang -*-
%% emqx_coap config mapping

{mapping, "coap.port", "emqx_coap.port", [
  {datatype, integer}
]}.

{mapping, "coap.keepalive", "emqx_coap.keepalive", [
  {default, "120s"},
  {datatype, {duration, s}}
]}.

{mapping, "coap.keyfile", "emqx_coap.keyfile", [
  {datatype, string}
]}.

{mapping, "coap.certfile", "emqx_coap.certfile", [
  {datatype, string}
]}.

{mapping, "coap.enable_stats", "emqx_coap.enable_stats", [
  {datatype, flag}
]}.


